<!--
 Copyright 2023 Google LLC

 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
-->

<h1>References</h1>

<mat-accordion multi>
    <mat-expansion-panel [expanded]="true">
        <mat-expansion-panel-header>
        <mat-panel-title>
            CEL Specification
        </mat-panel-title>
        </mat-expansion-panel-header>
        <p>See <a href="https://github.com/google/cel-spec">github.com/google/cel-spec</a> for CEL language
            overview.</p>
    </mat-expansion-panel>
    <mat-expansion-panel [expanded]="true">
        <mat-expansion-panel-header>
            <mat-panel-title>
            REPL Syntax
            </mat-panel-title>
        </mat-expansion-panel-header>
        <p>See <a href="https://github.com/google/cel-go/tree/master/repl/main">github.com/google/cel-go/tree/master/repl/main</a>
            for REPL syntax guide.</p>
    </mat-expansion-panel >
    <mat-expansion-panel [expanded]="true">
        <mat-expansion-panel-header>
            <mat-panel-title>
            Examples
            </mat-panel-title>
        </mat-expansion-panel-header>
        <p>Standard features</p>
        <mat-action-list>
            <button mat-list-item (click)="startExample('hello-world')">Hello World!</button>
            <button mat-list-item (click)="startExample('variables')">Variables</button>
            <button mat-list-item (click)="startExample('errors')">Errors</button>
            <button mat-list-item (click)="startExample('extension-functions')">Extension Functions</button>
            <button mat-list-item (click)="startExample('json')">JSON</button>
            <button mat-list-item (click)="startExample('macros')">Macros</button>
        </mat-action-list>
        <p>Canonical Extensions</p>
        <mat-action-list>
            <button mat-list-item (click)="startExample('optionals')">Optionals</button>
            <button mat-list-item (click)="startExample('strings')">Strings</button>
            <button mat-list-item (click)="startExample('math')">Math</button>
            <button mat-list-item (click)="startExample('bind')">Bind</button>
        </mat-action-list>
    </mat-expansion-panel>
</mat-accordion>